#include "activity_details.h"
#include "ui_activity_details.h"

ActivityDetails::ActivityDetails(QWidget *parent) :
    ViewBase(parent),
    ui(new Ui::ActivityDetails)
{
    ui->setupUi(this);
    QAction *backSoftkeyAction = new QAction(QString("Back"), this);
    backSoftkeyAction->setSoftKeyRole(QAction::NegativeSoftKey);
    QObject::connect(backSoftkeyAction, SIGNAL(triggered()),
                     this, SLOT(close()));
    addAction(backSoftkeyAction);
}

ActivityDetails::~ActivityDetails()
{
    delete ui;
}


void ActivityDetails::setText(QString text) {
  ui->txtActivityDetails->setHtml(text);
}
